package cn.itsource.pethome.system.role.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import cn.itsource.pethome.base.domain.BaseDomain;
import cn.itsource.pethome.system.menu.domain.Menu;
import cn.itsource.pethome.system.permission.domain.Permission;
import lombok.Data;
import org.w3c.dom.stylesheets.LinkStyle;

/**
 * <p>
 * 
 * </p>
 *
 * @author itsource
 * @since 2023-02-01
 */
@Data
public class Role extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private String name;
    private String sn;

    //用于接收前端传递过来的菜单和权限id
    private List<Long> menus;
    private List<Long> permissions;

    //传递给前端的数据
    private List<Menu> menuList;
    private List<Permission> permissionList;
}
